<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Todo List</title>
    <link rel="stylesheet" href="./style.css">
    <script href="./todolist.js"></script>
</head>
<body>

            <div class="container">
              <h1>Todo List</h1>
              <!-- 添加待办事项 -->
              <div class="add-todo">
                <input type="text" placeholder="添加新任务">
                <button id="add">添加</button>
              </div>
              <!-- 分类展示 -->
              <div class="filter">
                <button>全部</button>
                <button>已完成</button>
                <button>未完成</button>
              </div>
              <!-- 搜索过滤 -->
              <div class="search">
                <input type="text" placeholder="搜索任务">
              </div>
              <!-- 代办事项列表 -->
              <div>
                <ul>
                  <li>
                    <div class="checkbox-group">
                      <input type="checkbox" name="" value="">
                      <span>代办事项1</span>
                    </div>
        
                    <div class="btn-group">
                      <button>编辑</button>
                      <button>删除</button>
                    </div>
        
                  </li>
                  <li>
                    <div class="checkbox-group">
                      <input type="checkbox" name="" value="">
                      <span class="completed">代办事项2</span>
                    </div>
        
                    <div class="btn-group">
                      <button>编辑</button>
                      <button>删除</button>
                    </div>
        
                  </li>
                  <li>
                    <div class="checkbox-group">
                      <input type="checkbox" name="" value="">
                      <span>代办事项3</span>
                    </div>
        
                    <div class="btn-group">
                      <button>编辑</button>
                      <button>删除</button>
                    </div>
        
                  </li>
                  
                </ul>
              </div>
            </div>
        

</body>
</html>